package fr.fitec.qcmPlus.actionForms;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
public class GestionQuestionForm extends ActionForm{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String intitule =	null; 
	private String reponsea	=	null; 
	private String reponseb	=	null; 
	private String reponsec	=	null; 
	private String reponsed	=	null; 
	private String reponsee	=	null; 
	private String[] bonne	=	{"reponsea","reponseb"};
	private FormFile	fichier	=	null; 
	
	public FormFile getFichier() {
		return fichier;
	}


	public void setFichier(FormFile fichier) {
		this.fichier = fichier;
	}


	public String getIntitule() {
		return intitule;
	}


	public void setIntitule(String intitule) {
		this.intitule = intitule;
	}


	public String getReponsea() {
		return reponsea;
	}


	public void setReponsea(String reponsea) {
		this.reponsea = reponsea;
	}


	public String getReponseb() {
		return reponseb;
	}


	public void setReponseb(String reponseb) {
		this.reponseb = reponseb;
	}


	public String getReponsec() {
		return reponsec;
	}


	public void setReponsec(String reponsec) {
		this.reponsec = reponsec;
	}


	public String getReponsed() {
		return reponsed;
	}


	public void setReponsed(String reponsed) {
		this.reponsed = reponsed;
	}


	public String getReponsee() {
		return reponsee;
	}


	public void setReponsee(String reponsee) {
		this.reponsee = reponsee;
	}






	
	
	public String[] getBonne() {
		return bonne;
	}


	public void setBonne(String[] bonne) {
		this.bonne = bonne;
	}


	@Override
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return super.validate(mapping, request);
	}
	

	
}
